from rest_framework.viewsets import ModelViewSet

from store.models import Goods

from Api.serializers import GoodsSerializer
# Create your views here.

class GoodsViewSet(ModelViewSet):
    queryset = Goods.objects.all()
    serializer_class = GoodsSerializer


